package com.jh.calendar;

import java.util.Calendar;

public class Mylife 
{
	public static void main(String[] args) 
	{
		CalendarTest cal = new CalendarTest();
		
		Calendar dd = Calendar.getInstance();
		
		int month = dd.get ( Calendar.MONTH ) +1;
		int year = dd.get(Calendar.YEAR);
		int today = dd.get(Calendar.DATE);
		
		int s = cal.days(year, month, today);
		int a = cal.days(1984, 7, 14);
		
		System.out.println(year);
		System.out.println(month);
		System.out.println(today);
		
		System.out.printf("%d년 %d월 %d일\n",year,month,today);
		System.out.println(s-a);
		
	}
}
